package com.example.tool.util.net;

/**
 * @description:
 * @author: liangkun
 * @date :   2020/4/26 14:15
 */
public class FigureResponceBean {
    /**
     * {
     * "error_code": 0,
     * "error_msg": "SUCCESS",
     * "log_id": 1234567890123,
     * "timestamp": 1533094576,
     * "cached": 0,
     * "result": {
     * "output": "AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQATHf9tZGF0..."
     * }
     * }
     */

    private int error_code;
    private String error_msg;
    private String log_id;
    private String timestamp;
    private String cached;
    private ResultMp4 result;

    public class ResultMp4 {

        private String output;

        public String getOutput() {
            return output;
        }

        public void setOutput(String output) {
            this.output = output;
        }

        @Override
        public String toString() {
            return "ResultMp4{" +
                    "output='" + output + '\'' +
                    '}';
        }
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public String getLog_id() {
        return log_id;
    }

    public void setLog_id(String log_id) {
        this.log_id = log_id;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getCached() {
        return cached;
    }

    public void setCached(String cached) {
        this.cached = cached;
    }

    public ResultMp4 getResult() {
        return result;
    }

    public void setResult(ResultMp4 result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "FigureResponceBean{" +
                "error_code='" + error_code + '\'' +
                ", error_msg='" + error_msg + '\'' +
                ", log_id='" + log_id + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", cached='" + cached + '\'' +
                ", result=" + result +
                '}';
    }
}
